/*
 * N. Dumont, TAI Lab
 *
 * Class Item created on 20 mai 2011
 *
 * Copyright (c) 2009 Thales Communications
 * 160 bd de Valmy - BP82 92704 COLOMBES cedex - France
 * All rights reserved.
 *
 */
package org.diyse.gateway.pubsub.xmpp.internal.data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author tai
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "item")
public class Item {
	
	@XmlAttribute
	private String id;
	
	@XmlElement(name="data",namespace="http://jabber.org/protocol/pubsub")
	private Data data;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Data getData() {
		return data;
	}

	public void setData(Data data) {
		this.data = data;
	}
}
